package com.example.guiguiapplicatio.fragment.examination.placeholder;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ExaminationRecordPlaceholderContent {
    public static final List<ExaminationRecordPlaceholderContent.PlaceholderItem>ITEMS=new ArrayList<>();
    public static final Map<Integer,ExaminationRecordPlaceholderContent.PlaceholderItem>ITEM_MAP=new HashMap<>();
    public static void addItem(ExaminationRecordPlaceholderContent.PlaceholderItem item){
        ITEMS.add(item);
        ITEM_MAP.put(item.examinationid,item);
    }
    public static class PlaceholderItem{
        private Integer examinationid;
        private String idcard;
        private String name;
        private String sex;
        private Integer age;
        private Date starttime;
        private List<String> listenername;

        public PlaceholderItem(Integer examinationid, String idcard, String name, String sex, Integer age, Date starttime, List<String> listenername) {
            this.examinationid = examinationid;
            this.idcard = idcard;
            this.name = name;
            this.sex = sex;
            this.age = age;
            this.starttime = starttime;
            this.listenername = listenername;
        }

        public Integer getExaminationid() {
            return examinationid;
        }

        public String getIdcard() {
            return idcard;
        }

        public String getName() {
            return name;
        }

        public String getSex() {
            return sex;
        }

        public Integer getAge() {
            return age;
        }

        public Date getStarttime() {
            return starttime;
        }

        public List<String> getListenername() {
            return listenername;
        }
    }
}
